class User():
    def __init__(self, first_name, last_name):
        self.first_name = first_name
        self.last_name = last_name
        self.login_attempts = 0
    def describe(self):
        print("the user's full name is " + self.first_name.title() + " " + self.last_name.title() + ".")
    def greet(self):
        print("hello! " + self.first_name.title() + " " + self.last_name.title())
    def increment_login(self):
        self.login_attempts += 1
        print("the number of the login is: " + str(self.login_attempts))
    def reset_login(self):
        self.login_attempts = 0
        print("the number of the login is: " + str(self.login_attempts))
class Privileges():
    def __init__(self,privileges=["add_name", "delete_name", "change_name"]):
        self.privileges = privileges
    def show_privileges(self):
        print("the admin's priviliges are: " )
        for pri in self.privileges:
            print(pri)
class Admin(User):
    def __init__(self, first_name, last_name):
        super().__init__(first_name, last_name)
        self.privileges = Privileges()
